package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-10-21
 */
@TableName("ORDER_SERVICE_SETTLE")
public class OrderServiceSettle extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 结算服务订单编号
     */
    @TableId("OSSE_ID")
    private String osseId;

    /**
     * 结算服务订单名称
     */
    @TableField("OSSE_ORDER_NAME")
    private String osseOrderName;

    /**
     * 实物订单表主键
     */
    @TableField("ORDER_ID")
    private String orderId;

    /**
     * 订单状态
     */
    @TableField("OSSE_STATE")
    private String osseState;

    /**
     * 订单状态
     */
    @TableField(exist = false)
    private String osseStateLabel;

    /**
     * 店铺ID
     */
    @TableField("OSSE_SHOP_ID")
    private String osseShopId;

    /**
     * 合同编号
     */
    @TableField("OSSE_CONTRACT_ID")
    private String osseContractId;

    /**
     * 采购部门
     */
    @TableField("OSSE_PURCHASE_DEPARTMENT")
    private String ossePurchaseDepartment;

    /**
     * 供应商
     */
    @TableField("OSSE_SUPPLIER_NAME")
    private String osseSupplierName;

    /**
     * 采购商
     */
    @TableField("OSSE_PURCHASER_NAME")
    private String ossePurchaserName;

    /**
     * 采购方联系人
     */
    @TableField("OSSE_CONTACT_MAN")
    private String osseContactMan;

    /**
     * 联系电话
     */
    @TableField("OSSE_CONTACT_PHONE")
    private String osseContactPhone;

    /**
     * 发货地址
     */
    @TableField("OSSE_DELIVERY_ADDRESS")
    private String osseDeliveryAddress;

    /**
     * 收货地址
     */
    @TableField("OSSE_RECEIVE_ADDRESS")
    private String osseReceiveAddress;

    /**
     * 项目编号
     */
    @TableField("OSSE_PROJECT_ID")
    private String osseProjectId;

    /**
     * 项目名称
     */
    @TableField("OSSE_PROJECT_NAME")
    private String osseProjectName;

    /**
     * 服务名称
     */
    @TableField("OSSE_NAME")
    private String osseName;

    /**
     * 服务类型
     */
    @TableField("OSSE_TYPE")
    private String osseType;

    /**
     * 预计订单金额
     */
    @TableField("OSSE_ESTIMATE_MONEY")
    private BigDecimal osseEstimateMoney;

    /**
     * 实际订单金额
     */
    @TableField("OSSE_MONEY")
    private BigDecimal osseMoney;

    /**
     * 应收服务金额
     */
    @TableField("OSSE_COLLECT_SERVICE_MONEY")
    private BigDecimal osseCollectServiceMoney;

    /**
     * 应付服务金额
     */
    @TableField("OSSE_PAY_SERVICE_MONEY")
    private BigDecimal ossePayServiceMoney;

    /**
     * 实收服务金额
     */
    @TableField("OSSE_COLLECT_SERVICE_MONEY_REAL")
    private BigDecimal osseCollectServiceMoneyReal;

    /**
     * 实付服务金额
     */
    @TableField("OSSE_PAY_SERVICE_MONEY_REAL")
    private BigDecimal ossePayServiceMoneyReal;

    /**
     * 采购0，领料1
     */
    @TableField("OSSE_FLAG")
    private String osseFlag;

    /**
     * 下单用户ID
     */
    @TableField("CREATE_USER_ID")
    private String createUserId;

    /**
     * 订单创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 联系方式
     */
    @TableField("CREATE_USER_PHONE")
    private String createUserPhone;

    /**
     * 订单创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 审批人
     */
    @TableField("APPROVE_USER")
    private String approveUser;

    /**
     * 审批时间
     */
    @TableField("APPROVE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date approveTime;

    /**
     * 审核状态
     */
    @TableField("APPROVE_STATUS")
    private String approveStatus;

    /**
     * 机构代码
     */
    @TableField("ORG_CODE")
    private String orgCode;

    public String getOsseId() {
        return osseId;
    }

    public void setOsseId(String osseId) {
        this.osseId = osseId;
    }
    public String getOsseOrderName() {
        return osseOrderName;
    }

    public void setOsseOrderName(String osseOrderName) {
        this.osseOrderName = osseOrderName;
    }
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getOsseState() {
        return osseState;
    }

    public void setOsseState(String osseState) {
        this.osseState = osseState;
    }
    public String getOsseShopId() {
        return osseShopId;
    }

    public void setOsseShopId(String osseShopId) {
        this.osseShopId = osseShopId;
    }
    public String getOsseContractId() {
        return osseContractId;
    }

    public void setOsseContractId(String osseContractId) {
        this.osseContractId = osseContractId;
    }
    public String getOssePurchaseDepartment() {
        return ossePurchaseDepartment;
    }

    public String getOsseStateLabel() {
        return osseStateLabel;
    }

    public void setOsseStateLabel(String osseStateLabel) {
        this.osseStateLabel = osseStateLabel;
    }

    public void setOssePurchaseDepartment(String ossePurchaseDepartment) {
        this.ossePurchaseDepartment = ossePurchaseDepartment;
    }
    public String getOsseSupplierName() {
        return osseSupplierName;
    }

    public void setOsseSupplierName(String osseSupplierName) {
        this.osseSupplierName = osseSupplierName;
    }
    public String getOssePurchaserName() {
        return ossePurchaserName;
    }

    public void setOssePurchaserName(String ossePurchaserName) {
        this.ossePurchaserName = ossePurchaserName;
    }
    public String getOsseContactMan() {
        return osseContactMan;
    }

    public void setOsseContactMan(String osseContactMan) {
        this.osseContactMan = osseContactMan;
    }
    public String getOsseContactPhone() {
        return osseContactPhone;
    }

    public void setOsseContactPhone(String osseContactPhone) {
        this.osseContactPhone = osseContactPhone;
    }
    public String getOsseDeliveryAddress() {
        return osseDeliveryAddress;
    }

    public void setOsseDeliveryAddress(String osseDeliveryAddress) {
        this.osseDeliveryAddress = osseDeliveryAddress;
    }
    public String getOsseReceiveAddress() {
        return osseReceiveAddress;
    }

    public void setOsseReceiveAddress(String osseReceiveAddress) {
        this.osseReceiveAddress = osseReceiveAddress;
    }
    public String getOsseProjectId() {
        return osseProjectId;
    }

    public void setOsseProjectId(String osseProjectId) {
        this.osseProjectId = osseProjectId;
    }
    public String getOsseProjectName() {
        return osseProjectName;
    }

    public void setOsseProjectName(String osseProjectName) {
        this.osseProjectName = osseProjectName;
    }
    public String getOsseName() {
        return osseName;
    }

    public void setOsseName(String osseName) {
        this.osseName = osseName;
    }
    public String getOsseType() {
        return osseType;
    }

    public void setOsseType(String osseType) {
        this.osseType = osseType;
    }
    public BigDecimal getOsseEstimateMoney() {
        return osseEstimateMoney;
    }

    public void setOsseEstimateMoney(BigDecimal osseEstimateMoney) {
        this.osseEstimateMoney = osseEstimateMoney;
    }
    public BigDecimal getOsseMoney() {
        return osseMoney;
    }

    public void setOsseMoney(BigDecimal osseMoney) {
        this.osseMoney = osseMoney;
    }
    public BigDecimal getOsseCollectServiceMoney() {
        return osseCollectServiceMoney;
    }

    public void setOsseCollectServiceMoney(BigDecimal osseCollectServiceMoney) {
        this.osseCollectServiceMoney = osseCollectServiceMoney;
    }
    public BigDecimal getOssePayServiceMoney() {
        return ossePayServiceMoney;
    }

    public void setOssePayServiceMoney(BigDecimal ossePayServiceMoney) {
        this.ossePayServiceMoney = ossePayServiceMoney;
    }
    public BigDecimal getOsseCollectServiceMoneyReal() {
        return osseCollectServiceMoneyReal;
    }

    public void setOsseCollectServiceMoneyReal(BigDecimal osseCollectServiceMoneyReal) {
        this.osseCollectServiceMoneyReal = osseCollectServiceMoneyReal;
    }
    public BigDecimal getOssePayServiceMoneyReal() {
        return ossePayServiceMoneyReal;
    }

    public void setOssePayServiceMoneyReal(BigDecimal ossePayServiceMoneyReal) {
        this.ossePayServiceMoneyReal = ossePayServiceMoneyReal;
    }
    public String getOsseFlag() {
        return osseFlag;
    }

    public void setOsseFlag(String osseFlag) {
        this.osseFlag = osseFlag;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public String getCreateUserPhone() {
        return createUserPhone;
    }

    public void setCreateUserPhone(String createUserPhone) {
        this.createUserPhone = createUserPhone;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getApproveUser() {
        return approveUser;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }
    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
    public String getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    @Override
    public String toString() {
        return "OrderServiceSettle{" +
            "osseId=" + osseId +
            ", osseOrderName=" + osseOrderName +
            ", orderId=" + orderId +
            ", osseState=" + osseState +
            ", osseShopId=" + osseShopId +
            ", osseContractId=" + osseContractId +
            ", ossePurchaseDepartment=" + ossePurchaseDepartment +
            ", osseSupplierName=" + osseSupplierName +
            ", ossePurchaserName=" + ossePurchaserName +
            ", osseContactMan=" + osseContactMan +
            ", osseContactPhone=" + osseContactPhone +
            ", osseDeliveryAddress=" + osseDeliveryAddress +
            ", osseReceiveAddress=" + osseReceiveAddress +
            ", osseProjectId=" + osseProjectId +
            ", osseProjectName=" + osseProjectName +
            ", osseName=" + osseName +
            ", osseType=" + osseType +
            ", osseEstimateMoney=" + osseEstimateMoney +
            ", osseMoney=" + osseMoney +
            ", osseCollectServiceMoney=" + osseCollectServiceMoney +
            ", ossePayServiceMoney=" + ossePayServiceMoney +
            ", osseCollectServiceMoneyReal=" + osseCollectServiceMoneyReal +
            ", ossePayServiceMoneyReal=" + ossePayServiceMoneyReal +
            ", osseFlag=" + osseFlag +
            ", createUserId=" + createUserId +
            ", createUser=" + createUser +
            ", createUserPhone=" + createUserPhone +
            ", createTime=" + createTime +
            ", updateUser=" + updateUser +
            ", updateTime=" + updateTime +
            ", approveUser=" + approveUser +
            ", approveTime=" + approveTime +
            ", approveStatus=" + approveStatus +
            ", orgCode=" + orgCode +
        "}";
    }
}
